Page 121 - 2629_Devagiri_C-7
P. 121
2. Attributes in HTML are always written in the closing tag.
3. In CSS, a declaration block is a set of one or more declarations enclosed in curly braces.
4. Internal CSS is applied by writing styles inside a separate external file with a .css extension.
5. The condition in an if statement always gives a True or False result.
6. Decisions are not made using the selection statement.
7. Simulation is testing and visualising how a circuit works in a virtual environment.
8. In Tinkercad, Arduino is a virtual version of the real Arduino board.
C. Fill in the blanks.
1. Tags that include both opening and closing tags are called .
2. Tag names must be enclosed in brackets.
3. The hexadecimal code represents the white colour in CSS.
4. The CSS property is used to set the border style for all four sides of an element’s
border.
5. Selective flow is also called making.
6. Placing one if statement inside another is called a if statement.
7. The is the area where the circuit is built.
8. connect circuit parts, allowing electricity to flow between components.
D. Answer the following questions:
1. What is the function of the <HEAD> tag?
2. Explain the nesting of tags with an example.
3. What is a declaration block in CSS?
4. Name the three main ways to add CSS to a web page.
5. In what situation does the else block execute in an if...else statement?
6. Differentiate between sequential flow and selective flow with examples.
7. State the use of a photoresistor in a smart lamp project.
8. Differentiate between a series circuit and a parallel circuit.
119
Test Sheet - 2

